*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.box{
    width: 320px;
    height: 568px;
    /* outline: 2px solid red; */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    overflow: hidden;
}
.box>div{
    width: 320px;
    height: 568px;
    position: absolute;
    left: 0;
    top: 0;
    display: none;

}

/* 开始游戏页面 */
#startGame{
    background-image: url("./images/start_bg.png");
    display: block;
}
#startGame>div{
    width: 200px;
    height: 100px;
    position: absolute;
    left: 50%;
    bottom: 150px;
    transform: translateX(-50%);
    text-align: center

}
button{
    width: 150px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin-bottom: 10px;
    font-size: 24px;
}

/* 游戏页面 */
#playGame{
    background-image: url("./images/background_1.png");
    animation: move 10s linear infinite;
}

@keyframes move{
    0%{
        background-position-y: 0;
    }
    100%{
        background-position-y:568px;
    }
}
#playGame .num{
    position: absolute;
    left: 0;
    top: 0;
    /* z-index: 2; */
}
#playGame .plane{
    width: 320px;
    height: 568px;
    position: relative;
    /* left: 0;
    top: 0; */
}
#playGame .plane img{
    position: absolute;
}
#playGame .plane .myplane{
    width: 66px;
    height: 80px;
    background-image: url("./images/myplane.gif");
    position: absolute;
    bottom: 0;
    left: 127px;
}
#playGame .plane .bullet{
    position: absolute;
    top: 474px;
    left: 50%;
    transform: translateX(-50%);
}
#playGame .plane .enemyPlane{
    position: absolute;
    top: -170px;
}
/* <!-- 暂停游戏页面 --> */
#pauseGame{
    background-color: rgba(71, 60, 60, 0.5);
    display: none;
}
#pauseGame>div,#overGame>div{
    width: 200px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}


#overGame{
    background-color: rgba(71, 60, 60, 0.5);
}
#overGame h1{
    color: red;
    text-align: center;
    margin-top: 30px;
}
/* 排行榜 */
#listGame{
    background-image: url("./images/background_1.png");
    text-align: center;
}
#listGame table{
    margin: auto;
    width: 300px;
    border-collapse: collapse;
    /* 合并相邻单元格边框线 */
}
#listGame table th,td{
    border: 1px solid;
}
#listGame .goStart{
    position: absolute;
    right:10px;
    bottom: 10px;
}